package com.qf.userweb.service;

import com.qf.userweb.entity.LoginUser;
import com.qf.userweb.entity.User;
import com.qf.userweb.entity.UserDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    User login(LoginUser loginUser);

    List<User> list(UserDTO userDTO);

    int batchDelete(List<Integer> ids);

    int add(User user);
}
